<html>
<head>
<meta charset="utf-8">
<title>layuiAdmin 内容系统-分类管理</title>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="../layui/css/layui.css" media="all">
<link rel="stylesheet" href="../css/admin.css" media="all">
</head>    
<body>
<div id="myApp" class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layuiadmin-card-header-auto">
            <a class="layui-btn layui-btn-primary" href="./manager.html">管理员管理</a>
            <a class="layui-btn layuiadmin-btn-tags">添加管理员</a>
        </div>
        <div class="layui-card-body">
            <form class="layui-form layui-form-pane">
                <div class="contentTab">
                    <div class="layui-form-item">
                        <label class="layui-form-label">栏目标题</label>
                        <div class="layui-input-inline" style="width:30%;">
                            <input type="text" name="title" required="" placeholder="请输入栏目标题" class="layui-input">
                        </div>
                        <div class="layui-form-mid layui-word-aux layui-inline">中文</div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">栏目标识</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="name" placeholder="请输入栏目标识" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline">必须是英文</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">栏目标题</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="title" required="" placeholder="请输入栏目标题" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline">中文</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">栏目标识</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="name" placeholder="请输入栏目标识" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline">必须是英文</div>
                </div>  
                <div class="layui-form-item">
                    <label class="layui-form-label">排序</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="sort" value="100" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline">英文/字符/数字</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">SEO标题</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="seotitle" placeholder="请填写SEO标题" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline"></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">SEO关键词</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="email" name="keywords" placeholder="请填写SEO关键词" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline"></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">SEO描述</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <textarea class="layui-textarea" name="description"></textarea>
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline"></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">栏目模板</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="column_template" placeholder="list_com" value="list_com" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline">cate.html&nbsp;填写&nbsp;cate</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">详情模板</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="details_template" placeholder="details_com" value="details_com" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline">details.html&nbsp;填写&nbsp;details</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">显示数量</label>
                    <div class="layui-input-inline" style="width:30%;">
                        <input type="text" name="page_num" placeholder="每页显示数量" value="10" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux layui-inline">默认每页显示10条</div>
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn formSubmit" style="cursor:pointer;">提交</button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="../layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="../js/vue.js"></script>
<script type="text/javascript">
var myApp = new Vue({
    el:"#myApp",
    data:{
        list:{
            head:['id','名称','昵称','角色','状态','操作'],
            data:[
                {id:1,name:'admin',nickname:'超级管理',avatar:'超级管理员',state:'正常'},
                {id:1,name:'admin',nickname:'超级管理',avatar:'超级管理员',state:'正常'},
                {id:1,name:'admin',nickname:'超级管理',avatar:'超级管理员',state:'正常'},
                {id:1,name:'admin',nickname:'超级管理',avatar:'超级管理员',state:'正常'},
            ]
        },
    },
    methods:{        
        closeShade:function(){
            console.log('aa');
        },      
    }
});
</script>